<recipe definition> [recipe name]That name can be used in recipe books. To learn more about recipe books, see the Recipe Books page.
[@shared or recipe flag] [... more flags] <recipe definition> [recipe name] [@shared or recipe flag] [... more flags] <ingredients> = <result> [@shared or result flag] [... more flags] [... more results] [... more recipes]Here's a quick example of the above syntax by using all available options:
@message You crafted this! // this applies to all recipes within this file
COMBINE
@broadcast {player} has crafted a fine sword!
iron_ingot + gold_ingot + diamond:*:2
= gold_sword
@enchant durability max
@name Fine Gold Sword
@lore <gray>This sword has been crafted from pure awesomeness!
CRAFT Some Awesome Recipe
@modexp +1
@message false // disable the file-wide flag on this recipe
apple
= apple
The spacing is not required as I put it but it's recommended because you can see stuff easier.
combine @displayresult first | silentfail gold_nugget:*:3 = iron_ingot @ingredientcondition gold_nugget | name Silver Nugget | failmsg false = diamond @ingredientcondition gold_nugget | name Diamond Nugget | failmsg falseThis recipe lets you combine 3 gold nuggets named differently to create different results. If you combine 3 unnamed ones nothing will result, but if they're named "Silver Nugget" you'll get an iron_ingot. And if they're named "Diamond Nugget" you'll get a diamond, try it out!
fuel @forchance 25% @explode fire sulphur % 30When sulphur burns it has 25% chance of exploding and causing fires.
User contributed examples: RecipeManager / Forum / Resources